import { ref,reactive, computed } from 'vue'
import { defineStore } from 'pinia'

export const payStore = defineStore('payStore', () => {
  const info:any = reactive([{qrCode:""}]);
  function order(order:any) {
    info.splice(0,info.length);
    info.push(order);
  }

  return { info, order }
})
